You are here: Understanding the Meridian event procedures > About the briefcase events > BrcEvent_BeforeImport event

BrcEvent_BeforeImport event

Occurs when a document is about to be imported into the vault from a briefcase.

Syntax

BrcEvent_BeforeImport(Batch, Briefcase, Action)
Parameters
Name Description

Batch

An object that represents the batch of documents the user has selected.

Briefcase

An object that represents the briefcase file.

Action

A long integer that represents one or more AS_BRC_IMPORT_ACTION constants.

Remarks

Not available in the Meridian Web Client.

The Action parameter can be changed in this event procedure and the action executed by Meridian will be changed accordingly.

Tip    Use the object argument Batch.Argument("__$$RelatedVaultDocument") to relate an incoming file from a briefcase to an existing vault document. For more information, see Understanding object arguments.

Related concepts

About the briefcase events